package com.bountytask.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserInfo {
    @TableId("id")
    private long id;
    @TableField("openid")
    private String openId;
    @TableField("nickname")
    private String nickName;
    @TableField("avatarurl")
    private String avatarUrl;
    @TableField("money")
    private float money;
    @TableField("post_num")
    private int postNum;
    @TableField("settle_num")
    private int settleNum;
    @TableField("get_num")
    private int getNum;
    @TableField("finish_num")
    private int finishNum;
}
